﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OnlineRailway.UI.Client
{
    public partial class Register1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //for (int i = 1900; i <= 2000; i++)
            //{
            //    ListItem listItem = new ListItem();
            //    listItem.Text = i.ToString();
            //    ddlYear.Items.Add(listItem);
            //}
            ddlYear.DataSource = Enumerable.Range(1900, 2000);
            ddlYear.DataBind();

            ddlMonth.DataSource = Enumerable.Range(1, 12);
            ddlMonth.DataBind();

            ddlDay.DataSource = Enumerable.Range(1,31);
            ddlDay.DataBind();
        }

        protected void btnRegister_Click(object sender, EventArgs e)
        {

        }
    }
}